import <BatBrain.ash>

void main(int initround, monster foe, string pg) {
   act(pg);
  // now you can smack down the monster with BatBrain-powered gusto!


  vprint("HP: " + monster_stat("hp"),3);
  vprint("Regular Attack Damage: " + dmg_dealt(get_action("attack").dmg),3);

  if (initround == 1) {
  	vprint("Casting pocket crumbs",3);
  	use_skill($skill[Pocket Crumbs]);
  }
  else if (monster_stat("hp") <= dmg_dealt(get_action("attack").dmg)) {
  	vprint("Casting wallop",3);
  	use_skill($skill[Furious Wallop]);
  }
  else {
  	vprint("regular attack time",3);
  	attack();
  }

}  